﻿namespace Ayatta.Contract.Domain
{
    /// <summary>
    /// 拍品等级
    /// </summary>
    public enum AuctionGrade : byte
    {
        Normal = 0,
        Gift = 1,
        Silver = 2,
        Gold = 3,
        Platinum = 4,
        Diamond = 5
    }

    /// <summary>
    /// 补差限制
    /// </summary>
    public enum DiffBuyLimitation : byte
    {
        /// <summary>
        /// 无限制
        /// </summary>
        Unlimited = 0,

        /// <summary>
        /// 只能N次
        /// </summary>
        NTimesOnly = 1,

        /// <summary>
        /// 每个用户只能N次
        /// </summary>
        NTimesPerCustomer = 2,
    }

    /// <summary>
    /// 免费拍币使用限制
    /// </summary>
    public enum FreeBidLimitation : byte
    {
        /// <summary>
        /// 无限制
        /// </summary>
        Unlimited = 0,

        /// <summary>
        /// 只能N次
        /// </summary>
        NTimesOnly = 1,

        /// <summary>
        /// 每个用户只能N次
        /// </summary>
        NTimesPerCustomer = 2,
    }

    /// <summary>
    /// 拍品状态
    /// </summary>
    public enum AuctionStatus : byte
    {
        Normal = 0,
        Finished = 1,
        Suspended = 2,
        Deleted = 3
    }

    /// <summary>
    /// 晒图状态
    /// </summary>
    public enum AuctionShareStatus : byte
    {
        /// <summary>
        /// 未审核
        /// </summary>
        Pending = 0,

        /// <summary>
        /// 审核未通过
        /// </summary>
        Unsanctioned = 1,

        /// <summary>
        /// 审核通过
        /// </summary>
        Authenticated = 2,
    }

    /// <summary>
    /// 竞拍机器人类型
    /// </summary>
    public enum AuctionRobotCategory : byte
    {
        /// <summary>
        /// 按件付费
        /// </summary>
        Piece = 0,

        /// <summary>
        /// 15天
        /// </summary>
        HalfMonth = 1,

        /// <summary>
        /// 一个月
        /// </summary>
        Month = 2
    }

    /// <summary>
    /// 竞拍机器人出价时机
    /// </summary>
    public enum AuctionRobotTiming : byte
    {
        /// <summary>
        /// 随机出价
        /// </summary>
        Random = 0,

        /// <summary>
        /// 最后10秒随机出价
        /// </summary>
        LastTenSeconds = 1
    }

    /// <summary>
    /// 竞拍机器人状态
    /// </summary>
    public enum AuctionRobotStatus : byte
    {
        /// <summary>
        /// 自动出价中
        /// </summary>
        Running = 0,

        /// <summary>
        /// 已准备就绪可自动出价
        /// </summary>
        Ready = 1,

        /// <summary>
        /// 用户手动停止/暂停
        /// </summary>
        StoppedByManual = 2,

        /// <summary>
        /// 系统停止(拍品已被别人拍下)
        /// </summary>
        StoppedBySystem = 3,

        /// <summary>
        /// 系统停止(拍币不足)
        /// </summary>
        StoppedByCurrecny = 4,

        /// <summary>
        /// 系统停止(过期)
        /// </summary>
        StoppedOnExpired = 5,

        /// <summary>
        /// 已完成设定出价次数
        /// </summary>
        StoppedOnFinished = 6,

        /// <summary>
        /// 获得拍品
        /// </summary>
        StoppedOnWin = 7
    }
}